
#import "UIColor+Extend.h"

#define THMainTextKColor        [UIColor colorWithRed:166/255.0 green:166/255.0 blue:166/255.0 alpha:1]
#define THBackViewColor         [UIColor colorWithRed:179/255.0 green:234/255.0 blue:241/255.0 alpha:0.5];
#define THLineColor             [UIColor lightGrayColor]

#define THSystemBlackColor      [UIColor blackColor]
#define THSystemDarkGrayColor   [UIColor darkGrayColor]
#define THSystemLightGrayColor  [UIColor lightGrayColor]
#define THSystemWhiteColor      [UIColor whiteColor]
#define THSystemGrayColor       [UIColor grayColor]
#define THSystemRedColor        [UIColor redColor]
#define THSystemGreenColor      [UIColor greenColor]

#define THDefaultWhiteColor      [UIColor colorWithHex:0xffffffff]

#define THDefaultGreenColor      [UIColor colorWithRed:95/255.0 green:197/255.0 blue:85/255.0 alpha:1]
#define THDeFaultBlueColor       [UIColor colorWithHex:0xff3e72f7]
#define THCodeBlueColor          [UIColor colorWithHex:0xff3e72f7]


#define THSystemCyanColor       [UIColor cyanColor]
#define THSystemYellowColor     [UIColor yellowColor]
#define THSystemMagentaColor    [UIColor magentaColor]
#define THSystemOrangeColor     [UIColor orangeColor]

#define THDefaultOrangeColor     [UIColor colorWithRed:255/255.0 green:141/255.0 blue:45/255.0 alpha:1]

#define THSystemPurpleColor     [UIColor purpleColor]
#define THSystemBrownColor      [UIColor brownColor]
#define THSystemClearColor      [UIColor clearColor]
//#define THSystemSkinColor       [UIColor blueColor]

#define THSystemSkinColor       [UIColor colorWithHex:0xff03a9f4]
#define THMainBackGrayColor     [UIColor colorWithHex:0Xfff1f1f1]

//按钮的高亮透明色值
static CGFloat const THHighLightAlpha = 0.6;

//customColor
#define THColor(r,g,b) [UIColor colorWithRed:(r)/255. green:(g)/255. blue:(b)/255. alpha:1.]
#define THAlplaColor(r,g,b,a) [UIColor colorWithRed:(r)/255. green:(g)/255. blue:(b)/255. alpha:(a)]
#define THWhiteAlplaColor(a) [UIColor colorWithRed:1. green:1. blue:1. alpha:(a)]
#define THBlackAlplaColor(a) [UIColor colorWithRed:(0)/255. green:(0)/255. blue:(0)/255. alpha:(a)]
#define THGrayAlplaColor(a) [UIColor colorWithRed:(192.)/255. green:(192.)/255. blue:(192.)/255. alpha:(a)]
//
//#define THRandomColor AWColor(arc4random_uniform(256), arc4random_uniform(256), arc4random_uniform(256))

#define RandomColor [UIColor colorWithRed:arc4random()%255/255.0 green:arc4random()%255/255.0 blue:arc4random()%255/255.0 alpha:1]


#ifdef DEBUG

#define THBackgroundColor AWRandomColor

#else

#define THBackgroundColor [UIColor clearColor]

#endif